<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <include file="Public/meta"/>
</head>
<body>

<div class="info-center">
    <!--页面头部-->
    <div class="page-header">
        <div class="pull-left">
            <h4>订单详情页：</h4>
            <a href="javascript:history.back(-1);" class="btn btn-primary">返回</a>
        </div>
    </div>
    <!--清除浮动-->
    <div class="clearfix"></div>
    <!--订单详情-->
    <div class="table-margin">
        <table class="table table-hover contact-template-form">
            <tbody>
            <tr>
                <td width="20%" align="center">订单编号</td>
                <td width="40%">{$data.id}</td>
            </tr>
            <tr>
                <td width="20%" align="center">订单号</td>
                <td width="40%">{$data.orderid}</td>
            </tr>
            <tr>
                <td width="20%" align="center">买家</td>
                <td width="40%">{$data.username}</td>
            </tr>
            <present name="data.agent_name">
                <tr>
                    <td width="20%" align="center">代理商名称</td>
                    <td width="40%">{$data.agent_name}</td>
                </tr>
            </present>
            <tr>
                <td width="20%" align="center">下单时间</td>
                <td width="40%">{$data.ordertime|date='Y-m-d H:i:s',###}</td>
            </tr>
            <present name="data.endtime">
                <tr>
                    <td width="20%" align="center">支付时间</td>
                    <td width="40%">{$data.endtime|date='Y-m-d H:i:s',###}</td>
                </tr>
            </present>

            <tr>
                <td width="20%" align="center">订单状态</td>
                <if condition="$data.state eq 1">
                    <td width="40%">已付款</td>
                <elseif condition="$data.state eq 0"/>
                    <td width="40%">待付款</td>
                <elseif condition="$data.state eq 2"/>
                    <td width="40%">已取消</td>
                </if>
            </tr>
            <tr>
                <td width="20%" align="center">下单金额</td>
                <td width="40%">{$data.money} 元</td>
            </tr>
            <tr>
                <td width="20%" align="center">	购买时长</td>
                <td width="40%">{$data.period} 月</td>
            </tr>
            <tr>
                <td width="20%" align="center">	实例规格</td>
                <td width="40%">{$data.eidname}</td>
            </tr>
            <tr>
                <td width="20%" align="center">	地域</td>
                <td width="40%">{$data.diyuname}</td>
            </tr>
            <tr>
                <td width="20%" align="center">	所在线路</td>
                <td width="40%">{$data.diyuname}</td>
            </tr>
            <tr>
                <td width="20%" align="center">	产品名称</td>
                <td width="40%">云服务器,云磁盘</td>
            </tr>
            <tr>
                <td width="20%" align="center">实例金额</td>
                <td width="40%">{$data['ruleprice'] * $data['rulepid']}元    (折扣率{$data.rulepid})</td>
            </tr>
            <tr>
                <td width="20%" align="center">	系统镜像</td>
                <td width="40%">{$data.OSName}</td>
            </tr>
            <tr>
                <td width="20%" align="center">系统盘金额</td>
                <td width="40%">{$data['xiprice']*$data['xipid']}元      (折扣率{$data.xipid})</td>
            </tr>
            <tr>
                <td width="20%" align="center">数据盘金额</td>
                <td width="40%">{$data['shuprice']*$data['shupid']}元     (折扣率{$data.shupid})</td>
            </tr>
            <tr>
                <td width="20%" align="center">	公网带宽</td>
                <td width="40%">{$data.internetmaxbandwidthout} Mbps</td>
            </tr>
            <tr>
                <td width="20%" align="center">宽带金额</td>
                <td width="40%">{$data['widthprice'] *$data['widthpid']}元    (折扣率{$data.widthpid})</td>
            </tr>

            </tbody>
        </table>
    </div>

</div>

<script type="text/javascript" src="__ADMIN_JS__/common.js"></script>
<script type="text/javascript" src="__ADMIN_JS__/iCheck-1.0.2/icheck.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $('.xb-icheck').iCheck({
            checkboxClass: "icheckbox_minimal-blue",
            radioClass: "iradio_minimal-blue",
            increaseArea: "20%"
        });
    });
</script>

</body>
</html>